from mian.conf.locadYml import LocadYml


class Service:
    """
    服务器配置
    """
    def __init__(self):
        """
        host: 服务的主机地址
        port: 服务的端口号
        """
        config = LocadYml().config
        self.host = config['service']['host']
        self.port = config['service']['port']
